package com.wheat.vipcard.bean;

/**
 * Tribune entity. @author MyEclipse Persistence Tools
 */

public class Tribune implements java.io.Serializable {

	// Fields

	private Integer id;
	private String tname;
	private String tcontent;
	private String tcreateTime;
	private Integer tgood;
	private Integer tbad;
	private Integer userId;
	private String userName;
	private Integer ttype;

	// Constructors

	/** default constructor */
	public Tribune() {
	}

	/** full constructor */
	public Tribune(String tname, String tcontent, String tcreateTime,
			Integer tgood, Integer tbad, Integer userId, String userName,
			Integer ttype) {
		this.tname = tname;
		this.tcontent = tcontent;
		this.tcreateTime = tcreateTime;
		this.tgood = tgood;
		this.tbad = tbad;
		this.userId = userId;
		this.userName = userName;
		this.ttype = ttype;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTname() {
		return this.tname;
	}

	public void setTname(String tname) {
		this.tname = tname;
	}

	public String getTcontent() {
		return this.tcontent;
	}

	public void setTcontent(String tcontent) {
		this.tcontent = tcontent;
	}

	public String getTcreateTime() {
		return this.tcreateTime;
	}

	public void setTcreateTime(String tcreateTime) {
		this.tcreateTime = tcreateTime;
	}

	public Integer getTgood() {
		return this.tgood;
	}

	public void setTgood(Integer tgood) {
		this.tgood = tgood;
	}

	public Integer getTbad() {
		return this.tbad;
	}

	public void setTbad(Integer tbad) {
		this.tbad = tbad;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getTtype() {
		return this.ttype;
	}

	public void setTtype(Integer ttype) {
		this.ttype = ttype;
	}

}